# 输入身高体重
height = eval(input("请输入身高（米）："))
weight = eval(input("请输入体重（千克）："))

# 计算BMI值
bmi = weight / pow(height, 2)
print("BMI数值为：{:.2f}".format(bmi))

# 判断
health = ""
if bmi < 18.5:
    health = "过轻"

elif bmi < 25:
    health = "正常"

elif bmi < 28:
    health = "过重"

elif bmi < 32:
    health = "肥胖"
else:
    health = "严重肥胖"

print("你的健康状况为 {}".format(health))
